<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册界面</title>
     <style>
        body{ text-align:center}
        .a{
            width: 300px;
            height: 30px;

        }
        #b{
            width: 500px;
            border: 1px solid yellow;
            text-align: right;        /*右对齐*/·
        }
    </style>
</head>
<body>
    <br><br>
        <div id="b">
            <form method="post" action="/registerdb">
                <h2>
                用户名：<input type="text" name="name" class="a"><br><br>
                密码：<input type='password' name="pwd" class="a"><br><br>
                部门：<input type="text" name="department" class="a"><br><br>
                部门领导：<input type="text" name="leader"   class="a"><br><br>
                <input type="submit" value="提交" class="a">
                </h2>
        </div>
</body>
</html>